package com.zhuoding.domain;

public class Student {

    private String name;//姓名
    private String sid;//学号
    private String spassword;//密码
    private String sex;//性别
    private int age;//年龄
    private String major;//专业

    public Student() {
    }

    public Student( String name, String sid, String spassword, String sex, int age, String major) {

        this.name = name;
        this.sid = sid;
        this.spassword = spassword;
        this.sex = sex;
        this.age = age;
        this.major = major;
    }



    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getSpassword() {
        return spassword;
    }

    public void setSpassword(String spassword) {
        this.spassword = spassword;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }
}
